<template>
  <div id="app">
    <keep-alive>
      <router-view> </router-view>
    </keep-alive>
  </div>
</template>

<script>
import ClientMonitor from 'skywalking-client-js';
export default {
  name: 'App',
  created() {
    //js 文件错误埋点
    ClientMonitor.setPerformance({
      collector: '/sky',
      service: 'js文件错误' + this.$route.path,
      pagePath: this.$route.path,
      jsErrors: true
    });
  },
  methods: {},
  mounted() {}
};
</script>
<style>
.el-message-box__btns .el-button--small {
  float: right;
  margin-left: 10px;
}
</style>
